package com.wwdablu.soumya.lottiebottomnav;

/**
 * ILottieBottomNavCallback
 *
 * @since 2021-05-19
 */
public interface ILottieBottomNavCallback {
    /**
     * onMenuSelected
     *
     * @param oldIndex
     * @param newIndex
     * @param menuItem
     */
    void onMenuSelected(int oldIndex, int newIndex, MenuItem menuItem);

    /**
     * onAnimationStart
     *
     * @param index
     * @param menuItem
     */
    void onAnimationStart(int index, MenuItem menuItem);

    /**
     * onAnimationEnd
     *
     * @param index
     * @param menuItem
     */
    void onAnimationEnd(int index, MenuItem menuItem);

    /**
     * onAnimationCancel
     *
     * @param index
     * @param menuItem
     */
    void onAnimationCancel(int index, MenuItem menuItem);
}
